package com.ruoyi.web.wuliu.domain;

import cn.afterturn.easypoi.excel.annotation.ExcelIgnore;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户信息对象 user
 * 
 * @author 呵呵
 * @date 2023-11-16
 */
@Data
@ApiModel("小程序用户信息")
public class AppUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @ApiModelProperty("用户编号")
    private String id;

    /** $column.columnComment */
    private String openid;

    /** 手机号 */
    @Excel(name = "手机号")
    @ApiModelProperty("手机号")
    private String telephone;

    /** 微信头像 */
    @ApiModelProperty("微信头像地址")
    private String avatarUrl;

    /** 微信昵称 */
    @ApiModelProperty("微信昵称")
    private String nikename;

    /** 名字 */
    @Excel(name = "名字")
    @ApiModelProperty("名字")
    private String name;

    /** 车辆备注 */
    @ApiModelProperty("车辆备注")
    private String carRemark;

    /** 车辆照片 */
    @ApiModelProperty("车辆照片")
    private String vehiclePicture;

    /** 驾驶证照片 */
    @ApiModelProperty("驾驶证照片")
    private String driverLicensePicture;

    /** 身份证照片 */
    @ApiModelProperty("身份证照片")
    private String identificationCardPicture;

    /** 状态1审核通过2是审核不通过0是审核中 */
    @Excel(name = "状态1审核通过2是审核不通过0是审核中")
    @ApiModelProperty("状态")
    private String status;

    @ExcelIgnore
    @ApiModelProperty("生成的token")
    @TableField(exist = false)
    private String token;

    private String examineRemark;
    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setOpenid(String openid) 
    {
        this.openid = openid;
    }

    public String getOpenid() 
    {
        return openid;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }
    public void setAvatarUrl(String avatarUrl) 
    {
        this.avatarUrl = avatarUrl;
    }

    public String getAvatarUrl() 
    {
        return avatarUrl;
    }
    public void setNikename(String nikename) 
    {
        this.nikename = nikename;
    }

    public String getNikename() 
    {
        return nikename;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCarRemark(String carRemark) 
    {
        this.carRemark = carRemark;
    }

    public String getCarRemark() 
    {
        return carRemark;
    }
    public void setVehiclePicture(String vehiclePicture) 
    {
        this.vehiclePicture = vehiclePicture;
    }

    public String getVehiclePicture() 
    {
        return vehiclePicture;
    }
    public void setDriverLicensePicture(String driverLicensePicture) 
    {
        this.driverLicensePicture = driverLicensePicture;
    }

    public String getDriverLicensePicture() 
    {
        return driverLicensePicture;
    }
    public void setIdentificationCardPicture(String identificationCardPicture) 
    {
        this.identificationCardPicture = identificationCardPicture;
    }

    public String getIdentificationCardPicture() 
    {
        return identificationCardPicture;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("openid", getOpenid())
            .append("telephone", getTelephone())
            .append("avatarUrl", getAvatarUrl())
            .append("nikename", getNikename())
            .append("name", getName())
            .append("carRemark", getCarRemark())
            .append("vehiclePicture", getVehiclePicture())
            .append("driverLicensePicture", getDriverLicensePicture())
            .append("identificationCardPicture", getIdentificationCardPicture())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("status", getStatus())
            .toString();
    }
}
